package com.example.moban.api;

import java.util.Map;

import io.reactivex.Observable;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.PartMap;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * @author hu
 * @date: 2018/10/9.
 */
public interface HuService {


    /**
     * 地区列表
     *
     * @return
     */
    @GET("parentUser/getAreaList.auth")
    Observable<String> getAreaList();












    /**
     * 微信快捷登录
     *
     * @return
     */
    @FormUrlEncoded
    @POST("parentLogin/weiXinLogin.auth")
    Observable<String> weiXinLogin(@FieldMap Map<String, Object> params);



    /**
     * 个人中心信息
     * @return
     */
    @GET("parentUser/getParent")
    Observable<String> getPersonCenterInfo(@Query("userId") String userId, @Query("mechanismId") String mechanismId);

    /**
     * 个人基本信息
     * @return
     */
    @GET("parentUser/getParentInformation")
    Observable<String> getUerInfo(@Query("userId") String userId);

    /**
     * 修改基本信息
     * @return
     */
    @POST("parentUser/updateParent")
    @FormUrlEncoded
    Observable<String> updateUserInfo(@FieldMap Map<String, Object> params);

    /**
     * 修改手机号1
     * @return
     */
    @POST("parentUser/updateTelOne")
    @FormUrlEncoded
    Observable<String> updateTelOne(@FieldMap Map<String, Object> params);

    /**
     * 修改手机号2
     * @return
     */
    @POST("parentUser/updateTelTwo")
    @FormUrlEncoded
    Observable<String> updateTelTwo(@FieldMap Map<String, Object> params);

    /**
     * 家庭成员
     * @return
     */
    @POST("parentClass/getMemberFamily")
    @FormUrlEncoded
    Observable<String> getMemberFamily(@FieldMap Map<String, Object> params);

    /**
     * 我的宝贝
     * @return
     */
    @GET("parentUser/getBabyList")
    Observable<String> getBabyList(@Query("userId") String userId);

    /**
     * 家长我的学习
     * @return
     */
    @POST("parentCourse/getCourseStudyMap")
    @FormUrlEncoded
    Observable<String> getCourseStudyMap(@FieldMap Map<String, Object> params);

    /**
     * 根据垃圾垃圾分类标签获取数据接口
     * @return
     */
    @POST("GarbageManagement/getGarbageType")
    @FormUrlEncoded
    Observable<String> getGarbageRecom(@FieldMap Map<String, Object> params);


    /**
     * 根据垃圾垃圾历史记录
     * @return
     */
    @POST("GarbageManagement/getSearchByParent")
    @FormUrlEncoded
    Observable<String> getGarbageHistory(@FieldMap Map<String, Object> params);

    /**
     * 删除垃圾历史记录
     * @return
     */
    @POST("GarbageManagement/deleteLogByParent")
    @FormUrlEncoded
    Observable<String> deleteGarbageHistory(@FieldMap Map<String, Object> params);


    /**
     * 查询垃圾分类列表
     * @return
     */
    @POST("GarbageManagement/getGarbageByParent ")
    @FormUrlEncoded
    Observable<String> getGarbage(@FieldMap Map<String, Object> params);

    /**
     * 获取垃圾分类百科信息接口
     * @return
     */
    @POST("GarbageManagement/getGarbageAccount")
    @FormUrlEncoded
    Observable<String> getGarbageImage(@FieldMap Map<String, Object> params);


    /**
     * 家长我的收藏
     * @return
     */
    @POST("parentCourse/listParentCollect")
    @FormUrlEncoded
    Observable<String> getMyCollectList(@FieldMap Map<String, Object> params);

    /**
     * 获取历史课程
     * @return
     */
    @POST("parentCourse/listHistoryCourse")
    @FormUrlEncoded
    Observable<String> getHistoryCourseList(@FieldMap Map<String, Object> params);

    /**
     * 今日更新and课程预告
     * @return
     */
    @POST("parentCourse/getTodayUpdateAndTrailer")
    @FormUrlEncoded
    Observable<String> getTodayUpdateAndTrailer(@FieldMap Map<String, Object> params);

    /**
     * 获取家长免费课程列表（试听课程）
     * @return
     */
    @POST("parentCourse/listFreeCourse")
    @FormUrlEncoded
    Observable<String> getFreeCourseList(@FieldMap Map<String, Object> params);

    /**
     * 添加宝宝提交
     * @return
     */
    @POST("parentUser/addBabySubmit")
    @FormUrlEncoded
    Observable<String> addBabySubmit(@FieldMap Map<String, Object> params);

    /**
     * 编辑宝宝回显
     * @return
     */
    @POST("parentUser/updateBaby")
    @FormUrlEncoded
    Observable<String> updateBaby(@FieldMap Map<String, Object> params);

    /**
     * 编辑紧急联系人
     * @return
     */
    @POST("parentUser/updateBabyParent")
    @FormUrlEncoded
    Observable<String> updateJinJiParent(@FieldMap Map<String, Object> params);

    /**
     * 加入班级圈
     * @return
     */
    @POST("parentUser/addClassCircle")
    @FormUrlEncoded
    Observable<String> addClassCircle(@FieldMap Map<String, Object> params);

    /**
     * 首页-机构列表
     * @return
     */
    @GET("parentClass/getMechanismList")
    Observable<String> getMechanismList(@Query("userId") String userId);

    /**
     * 首页-班级列表
     * @return
     */
    @POST("parentClass/getClassList")
    @FormUrlEncoded
    Observable<String> getClassList(@FieldMap Map<String, Object> params);

    /**
     *首页-班级详情
     * @return
     */
    @POST("parentClass/getClassDetails")
    @FormUrlEncoded
    Observable<String> getClassDetails(@FieldMap Map<String, Object> params);

    /**
     *班级动态-列表
     * @return
     */
    @POST("parentClass/getClassDynamic")
    @FormUrlEncoded
    Observable<String> getClassDynamic(@FieldMap Map<String, Object> params);

    /**
     *班级动态-标签列表
     * @return
     */
    @GET("parentClass/getLabelList")
    Observable<String> getLabelList();

    /**
     *班级动态-点赞/取消点赞
     * @return
     */
    @POST("parentClass/changeLike")
    @FormUrlEncoded
    Observable<String> changeLike(@FieldMap Map<String, Object> params);

    /**
     *获取课程类型list
     * @return
     */
    @GET("parentCourse/listCourseType")
    Observable<String> getCourseTypeList();

    /**
     *获取家长套餐里的课程列表
     * @return
     */
    @POST("parentCourse/listPackageCourse")
    @FormUrlEncoded
    Observable<String> getPatriarchCourseList(@FieldMap Map<String, Object> params);

    /**
     *获取家长套餐里的课程详情
     * @return
     */
    @POST("parentCourse/getPackageCourseDetail")
    @FormUrlEncoded
    Observable<String> getPackageCourseDetail(@FieldMap Map<String, Object> params);



    /**
     *获取家长用户具体的订单信息
     * @return
     */
    @POST("order/parentOrderInfo")
    @FormUrlEncoded
    Observable<String> parentOrderInfo(@FieldMap Map<String, Object> params);

    /**
     *通过订单号查询家长订单详情
     * @return
     */
    @POST("order/parentOrderInfoByCode")
    @FormUrlEncoded
    Observable<String> parentOrderInfoByCode(@FieldMap Map<String, Object> params);

    /**
     *版本更新
     * @return
     */
    @POST("version/getVersionTypeApiList")
    @FormUrlEncoded
    Observable<String> getVersionTypeApiList(@Field("type") String params);


    /**
     *版本更新更改
     * @return
     */
    @POST("ali/api/v1/parent/YtkAliVersion/getVersionTypeByParent")
    @FormUrlEncoded
    Observable<String> getVersionTypeApiList(@FieldMap Map<String, Object> params);


    /**
     * 启动页管理
     * @return
     */
    @POST("startPage/getStartPageApiList")
    @FormUrlEncoded
    Observable<String> getStartPageApiList(@FieldMap Map<String, Object> params);

    /**
     * 支付接口 (支付宝可用)
     * @return
     */
    @POST("parentPay/payParentOrder")
    @FormUrlEncoded
    Observable<String> getPayParentOrder(@FieldMap Map<String, Object> params);

    /**
     * 图片上传接口
     * , @Field( "pictureEnumId" ) int type
     * @return
     */
    @Multipart
//    @POST("common/fileUpload")
    @POST("ali/api/parent/upload/common/fileUpload")
    Observable<String> fileUpload(@Part() MultipartBody.Part[] parts, @PartMap Map<String, RequestBody> params);

    /**
     * 模糊搜索学校列表
     * @return
     */
    @POST("parentUser/selectMechanismName")
    @FormUrlEncoded
    Observable<String> selectMechanismName(@FieldMap Map<String, Object> params);

    /**
     * 模糊搜索班级列表
     * @return
     */
    @POST("parentUser/selectClassName")
    @FormUrlEncoded
    Observable<String> selectClassName(@FieldMap Map<String, Object> params);

    /**
     * 修改宝宝头像/姓名提交
     * @return
     */
    @POST("parentUser/updateBabyPhoto")
    @FormUrlEncoded
    Observable<String> updateBabyPhoto(@FieldMap Map<String, Object> params);

    /**
     * 获取家长专题课程课程列表
     * @return
     */
    @GET("parentCourse/listSpecialCourse")
    Observable<String> listSpecialCourse();

    /**
     * 班级动态-评论
     * @return
     */
    @POST("parentClass/evaluateDynamic")
    @FormUrlEncoded
    Observable<String> sendEvaluateDynamic(@FieldMap Map<String, Object> params);

    /**
     * 班级动态-展开评论(返回的是所有的评论)
     * @return
     */
    @POST("parentClass/openComments")
    @FormUrlEncoded
    Observable<String> openComments(@FieldMap Map<String, Object> params);

    /**
     * 我的评论
     * @return
     */
    @POST("common/getCommentUserApiList")
    @FormUrlEncoded
    Observable<String> getMyCommentApiList(@FieldMap Map<String, Object> params);

    /**
     * 课程评论列表
     * @return
     */
    @POST("common/getCommentApiList")
    @FormUrlEncoded
    Observable<String> getCommentApiList(@FieldMap Map<String, Object> params);

    /**
     * 添加评论或回复评论
     * @return
     */
    @POST("common/addAppComment")
    @FormUrlEncoded
    Observable<String> addAppComment(@FieldMap Map<String, Object> params);

    /**
     * 查看回复
     * @return
     */
    @POST("common/getCommentByIdApiList")
    @FormUrlEncoded
    Observable<String> getCommentByIdApiList(@FieldMap Map<String, Object> params);

    /**
     * 添加点赞或者取消点赞
     * @return
     */
    @POST("common/addAppCommentFabulous")
    @FormUrlEncoded
    Observable<String> addAppCommentFabulous(@FieldMap Map<String, Object> params);

    /**
     * 我的评论 - 动态评论
     * @return
     */
    @POST("parentUser/dynamicReview")
    @FormUrlEncoded
    Observable<String> getMyDynamicReviewList(@FieldMap Map<String, Object> params);

    /**
     * 删除动态评论
     * @return
     */
    @POST("parentUser/deleteDynamicReview")
    @FormUrlEncoded
    Observable<String> deleteMyDynamicReview(@FieldMap Map<String, Object> params);

    /**
     * 开屏广告
     * @return
     */
    @POST("openAd/getOpenAdApiList")
    @FormUrlEncoded
    Observable<String> getOpenAdApiList(@FieldMap Map<String, Object> params);

    /**
     * 家长收藏/取消收藏课程
     * @return
     */
    @POST("parentCourse/addCollect")
    @FormUrlEncoded
    Observable<String> collectCourse(@FieldMap Map<String, Object> params);



    /**
     * 获取家长直播列表
     * @return
     */
    @POST("parentCourse/listParentLive")
    @FormUrlEncoded
    Observable<String> getParentLiveList(@FieldMap Map<String, Object> params);

    /**
     * 直播详情
     * @return
     */
    @POST("parentCourse/getParentLiveDetail")
    @FormUrlEncoded
    Observable<String> getParentLiveDetail(@FieldMap Map<String, Object> params);

    /**
     * 学习之星
     * @return
     */
    @POST("userIntegral/getUserIntegralApiList")
    @FormUrlEncoded
    Observable<String> getStudyStartList(@FieldMap Map<String, Object> params);

    /**
     * 积分记录
     * @return
     */
    @POST("userIntegral/getUserIntegralRecordApiList")
    @FormUrlEncoded
    Observable<String> getUserIntegralRecordApiList(@FieldMap Map<String, Object> params);

    /**
     * 用户签到页面
     * @return
     */
    @POST("userIntegral/getUserSignInApiList")
    @FormUrlEncoded
    Observable<String> getUserSignInApiList(@FieldMap Map<String, Object> params);

    /**
     * 签到
     * @return
     */
    @POST("userIntegral/getUserSignRecordApi")
    @FormUrlEncoded
    Observable<String> getUserSignRecordApi(@FieldMap Map<String, Object> params);

    /**
     * 获取用户的签到记录
     * @return
     */
    @POST("userIntegral/getUserSignRecordApiList")
    @FormUrlEncoded
    Observable<String> getUserSignRecordApiList(@FieldMap Map<String, Object> params);

    /**
     * 问题反馈
     * @return
     */
    @POST("helpCenter/addFeedback")
    @FormUrlEncoded
    Observable<String> addFeedback(@FieldMap Map<String, Object> params);

    /**
     * 班级通知列表
     * @return
     */
    @POST("parentClass/noticeClassReadList")
    @FormUrlEncoded
    Observable<String> noticeClassReadList(@FieldMap Map<String, Object> params);

    /**
     * 用户通知列表
     * @return
     */
    @POST("userMessage/getUserMessageApiList")
    @FormUrlEncoded
    Observable<String> getUserMessageApiList(@FieldMap Map<String, Object> params);

    /**
     * 家长学习排行榜
     * @return
     */
    @POST("parentCourse/listStudyRanking")
    @FormUrlEncoded
    Observable<String> getStudyRankingList(@FieldMap Map<String, Object> params);

    /**
     * 课程是否过期
     * @return
     */
    @POST("order/isExpire")
    @FormUrlEncoded
    Observable<String> isExpire(@FieldMap Map<String, Object> params);

    /**
     * 获取客服电话
     * @return
     */
    @POST("document/getDocumentTypeApiList")
    @FormUrlEncoded
    Observable<String> getServicePhone(@FieldMap Map<String, Object> params);

    /**
     * 学习课程获取积分
     * @return
     */
    @POST("userIntegral/getUserIntegralCourseIdApiList")
    @FormUrlEncoded
    Observable<String> getUserIntegralCourseIdApiList(@FieldMap Map<String, Object> params);

    /**
     * 学习之星奖励列表
     * @return
     */
    @POST("userIntegral/getUserIntegralStarApiList")
    @FormUrlEncoded
    Observable<String> getUserIntegralStarApiList(@FieldMap Map<String, Object> params);

    /**
     * 通知消息已读接口
     * @return
     */
    @POST("userMessage/getUserMessageMessageIdApiList")
    @FormUrlEncoded
    Observable<String> getUserMessageMessageIdApiList(@FieldMap Map<String, Object> params);

    /**
     * 班级通知-设置为已读
     * @return
     */
    @POST("parentClass/noticeClassSetRead")
    @FormUrlEncoded
    Observable<String> noticeClassSetRead(@FieldMap Map<String, Object> params);

    /**
     * 分享
     * @return
     */
    @POST("parentLogin/shareUrl")
    @FormUrlEncoded
    Observable<String> getShareData(@FieldMap Map<String, Object> params);

    /**
     * 绑定微信
     * @return
     */
    @POST("base/api/v1/app/YtkBaseApp/parent/bindingWx")
    @FormUrlEncoded
    Observable<String> bindWx(@FieldMap Map<String, Object> params);

    /**
     * 解除微信绑定
     * @return
     */
    @POST("base/api/v1/app/YtkBaseApp/parent/unBindingWx")
    @FormUrlEncoded
    Observable<String> relieveWx(@FieldMap Map<String, Object> params);

    /**
     * 有赞登录接口
     * @return
     */
    @POST("youZan/getUserLoginApiList")
    @FormUrlEncoded
    Observable<String> getYouZanLoginApiList(@FieldMap Map<String, Object> params);

    /**
     * 根据地区id 搜索学校(机构)列表
     * @return
     */
    @POST("parentUser/selectMechanismList")
    @FormUrlEncoded
    Observable<String> selectMechanismList(@FieldMap Map<String, Object> params);

    /**
     * 查询 班级动态未读 班级通知未读 消息未读
     * @return
     */
    @POST("parentClass/getMsgNum")
    @FormUrlEncoded
    Observable<String> getMsgNum(@FieldMap Map<String, Object> params);















//    /**
//     * 登录接口
//     *
//     * @return
//     */
//    @FormUrlEncoded
//    @POST("login/login.auth")
//    Observable<String> login(@Field("telephone") String telephone, @Field("code") String code);

    /**
     * 设置安全问题接口
     * @return
     */
    @FormUrlEncoded
    @POST("apiLogin/setProblem.auth")
    Observable<String> setProblem(@FieldMap Map<String, Object> params);


    /**
     * 修改个人信息接口
     * @return
     */
    @FormUrlEncoded
    @POST("mine/updateInfo")
    Observable<String> updateUerInfo(@FieldMap Map<String, Object> params);

//    /**
//     * 图片上传接口
//     * , @Field( "pictureEnumId" ) int type
//     * @return
//     */
//    @Multipart
//    @POST("user/upload-head-portrait")
//    Observable<String> uploadPicture(@Part() MultipartBody.Part[] parts , @PartMap Map<String, RequestBody> params);

    /**
     * 地区列表-大区-省份-城市
     * @return
     */
    @GET("userInformation/getRegionList")
    Observable<String> getRegionList();

    /**
     * 获取省份城市
     * @return
     */
    @GET("userInformation/getRegionLevelTwoList")
    Observable<String> getRegionLevelTwoList();

//    /**
//     * 获取短信验证码
//     * @return
//     */
//    @FormUrlEncoded
//    @POST("login/getCode.auth")
//    Observable<String> getCode( @Field("telephone") String telephone );

    /**
     * 我的收藏
     * @return
     */
    @FormUrlEncoded
    @POST("mine/collectionData")
    Observable<String> getCollectData(@FieldMap Map<String, Object> params);

    /**
     * 设计师详情
     * @return
     */
    @FormUrlEncoded
    @POST("index/designerInfo.auth")
    Observable<String> getDesignerInfo(@FieldMap Map<String, Object> params);

    /**
     * 设计师的视频和产品
     * @return
     */
    @FormUrlEncoded
    @POST("index/designerProduct.auth")
    Observable<String> getDesignerProductAndVideo(@FieldMap Map<String, Object> params);

//    /**
//     * 获取地址来源
//     * @param type 1.返回1级地址，2.返回2级地址，3.返回3级地址
//     * @return
//     */
//    @FormUrlEncoded
//    @POST("common/site-source")
//    Observable<String> getAddress( @Field("type") String type  );

    /**
     * 获取首页视频列表
     * @return
     */
    @FormUrlEncoded
    @POST("video/homepage")
    Observable<String> getVideoList(@FieldMap Map<String, Object> params);

    /**
     * 点赞/取消点赞
     * @return
     */
    @FormUrlEncoded
    @POST("common/like")
    Observable<String> setLike(@FieldMap Map<String, Object> params);

    /**
     * 分享
     * @return
     */
    @FormUrlEncoded
    @POST("share/video.auth")
    Observable<String> getShareInfo(@FieldMap Map<String, Object> params);

    /**
     * 获取微信支付信息
     * @return
     */
    @FormUrlEncoded
    @POST("weixin/pay_info.auth")
    Observable<String> getWxPayInfo(@FieldMap Map<String, Object> params);

    /**
     * 获取支付宝支付信息
     * @return
     */
    @FormUrlEncoded
    @POST("alipay/pay_info.auth")
    Observable<String> getAliPayInfo(@FieldMap Map<String, Object> params);

    /**
     * 分享视频数
     * @return
     */
    @FormUrlEncoded
    @POST("share/share-video")
    Observable<String> shareVideo(@FieldMap Map<String, Object> params);

//    /**
//     * 获取手机型号列表
//     * @return
//     */
//    @GET("user/phone-type")
//    Observable<String> getPhoneTypeList();

    //==========================二期================================







    /**
     * 获取院校数据来源
     * @return
     */
    @FormUrlEncoded
    @POST("public/source-school")
    Observable<String> getSchoolList(@FieldMap Map<String, Object> params);

    /**
     * 获取地址来源
     * @param type 1.返回1级地址，2.返回2级地址，3.返回3级地址
     * @return
     */
    @FormUrlEncoded
    @POST("public/source-address")
    Observable<String> getAddress(@Field("type") String type);

    /**
     * 获取手机型号列表
     * @return
     */
    @GET("public/phone-type")
    Observable<String> getPhoneTypeList();

//    /**
//     * 图片上传接口
//     * , @Field( "pictureEnumId" ) int type
//     * @return
//     */
//    @Multipart
//    @POST("public/upload-imgs")
//    Observable<String> uploadPicture(@Part() MultipartBody.Part[] parts , @PartMap Map<String, RequestBody> params);

    /**
     * 设计师发布卡券
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/publishCoupon")
    Observable<String> publishCoupon(@FieldMap Map<String, Object> params);

    /**
     * 我的卡券
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/getUserCouponList")
    Observable<String> getUserCouponList(@FieldMap Map<String, Object> params);

    /**
     * 获取设计师优惠券列表(店铺优惠券)
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/getDiscountCouponList")
    Observable<String> getDiscountCouponList(@FieldMap Map<String, Object> params);

    /**
     * 用户领取线上优惠券
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/userAddOnlineCoupon")
    Observable<String> userAddOnlineCoupon(@FieldMap Map<String, Object> params);

    /**
     * 获取线上优惠券列表
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/getOnlineCouponList")
    Observable<String> getOnlineCouponList(@FieldMap Map<String, Object> params);

    /**
     * 图片上传接口
     * , @Field( "pictureEnumId" ) int type
     * @return
     */
    @Multipart
    @POST("public/upload-imgs")
    Observable<String> uploadPicture(@Part() MultipartBody.Part[] parts);

    /**
     * 图片批量上传接口
     * file	是	File	上传的文件流
     * @return
     */
    @Multipart
    @POST("public/batchUploadImg")
    Observable<String> batchUploadPicture(@Part() MultipartBody.Part[] parts);

    /**
     * 第三方登录
     * @return
     */
    @FormUrlEncoded
    @POST("user/login-external")
    Observable<String> threeLogin(@FieldMap Map<String, Object> params);

    /**
     * 意见反馈
     * @return
     */
    @FormUrlEncoded
    @POST("feedback/add")
    Observable<String> feedback(@FieldMap Map<String, Object> params);

    /**
     * 更换手机号
     * @return
     */
    @FormUrlEncoded
    @POST("user/update-phone")
    Observable<String> updatePhone(@FieldMap Map<String, Object> params);

    /**
     * 收藏/取消收藏
     * @return
     */
    @FormUrlEncoded
    @POST("common/setCollection")
    Observable<String> setCollection(@FieldMap Map<String, Object> params);

    /**
     * 批量取消收藏
     * @return
     */
    @FormUrlEncoded
    @POST("common/cancelCollection")
    Observable<String> cancelCollection(@FieldMap Map<String, Object> params);

    /**
     * 获取版本更新信息
     * 类型 1-安卓 2-IOS
     * @return
     */
    @FormUrlEncoded
    @POST("mine/checkVersion.auth")
    Observable<String> versionUpdate(@Field("type") String type);

    /**
     * 领券中心
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/getCouponCentreList")
    Observable<String> getCouponCentreList(@FieldMap Map<String, Object> params);

    /**
     * 获取设计师详情页的优惠券
     * @return
     */
    @FormUrlEncoded
    @POST("coupon/getDetailCoupon")
    Observable<String> getDetailCoupon(@FieldMap Map<String, Object> params);

    /**
     * 订单商品评价
     * @return
     */
    @FormUrlEncoded
    @POST("order/addProductAppraise")
    Observable<String> addProductAppraise(@FieldMap Map<String, Object> params);

    /**
     * 申请售后
     * @return
     */
    @FormUrlEncoded
    @POST("order/returnApplyByUser")
    Observable<String> returnApplyByUser(@FieldMap Map<String, Object> params);

    /**
     * 资讯列表
     * @return
     */
    @FormUrlEncoded
    @POST("index/getMessageList")
    Observable<String> getInformationList(@FieldMap Map<String, Object> params);

    /**
     * 推荐好物
     * @return
     */
    @GET("commodity/recommend")
    Observable<String> recommendGood();

    /**
     * 活动专区
     * @return
     */
    @FormUrlEncoded
    @POST("commodity/prefecture")
    Observable<String> getActivityPrefectureList(@FieldMap Map<String, Object> params);

    /**
     * 获取限时折扣专区
     * @return
     */
    @GET("commodity/flashSale")
    Observable<String> flashSale();

    /**
     * 获取热销排行榜列表
     * @return
     */
    @FormUrlEncoded
    @POST("commodity/hot-list")
    Observable<String> getHotList(@FieldMap Map<String, Object> params);

    /**
     * 获取新品首发列表
     * @return
     */
    @FormUrlEncoded
    @POST("commodity/new-product")
    Observable<String> getNewProduct(@FieldMap Map<String, Object> params);

    /**
     * 我的关注
     * @return
     */
    @FormUrlEncoded
    @POST("user/getUserAttenList")
    Observable<String> getUserAttenList(@FieldMap Map<String, Object> params);

    /**
     * 我的粉丝
     * @return
     */
    @FormUrlEncoded
    @POST("user/my-fans")
    Observable<String> getMyFansList(@FieldMap Map<String, Object> params);

    /**
     * 用户关注或取消关注设计师
     * @return
     */
    @FormUrlEncoded
    @POST("user/userAttentionDesigner")
    Observable<String> userAttentionDesigner(@FieldMap Map<String, Object> params);

    /**
     * 收搜
     * @return
     */
    @FormUrlEncoded
    @POST("index/search")
    Observable<String> search(@FieldMap Map<String, Object> params);

    /**
     * 我的业绩
     * @return
     */
    @FormUrlEncoded
    @POST("commodity/performance")
    Observable<String> getMyPerformance(@FieldMap Map<String, Object> params);

    /**
     * 添加视频评论
     * @return
     */
    @FormUrlEncoded
    @POST("appraise/addVideoAppraise")
    Observable<String> addVideoAppraise(@FieldMap Map<String, Object> params);

    /**
     * 消息中心
     * @return
     */
    @FormUrlEncoded
    @POST("message-administration/list")
    Observable<String> getMessageList(@FieldMap Map<String, Object> params);

    /**
     * 用户是否有未读消息
     * @return
     */
    @FormUrlEncoded
    @POST("message-administration/is-read")
    Observable<String> getNoReadMessageData(@FieldMap Map<String, Object> params);

    /**
     * 删除消息
     * @return
     */
    @FormUrlEncoded
    @POST("message-administration/delete")
    Observable<String> deleteMessage(@FieldMap Map<String, Object> params);

    /**
     * 获取视频一级的评论列表
     * @return
     */
    @FormUrlEncoded
    @POST("appraise/getVideoAppraiseList")
    Observable<String> getVideoAppraiseList(@FieldMap Map<String, Object> params);

    /**
     * 点击视频评论展开二级子评论
     * @return
     */
    @FormUrlEncoded
    @POST("appraise/getChildAppraiseList")
    Observable<String> getChildAppraiseList(@FieldMap Map<String, Object> params);

    /**
     * 获取广告数据
     * @return
     */
    @GET("advertising")
    Observable<String> getAdvertisingData();

    /**
     * 通过用户id获取用户信息
     * @return
     */
    @FormUrlEncoded
    @POST("user/getUserById")
    Observable<String> getUserById(@Field("userId") String userId);

    /**
     * 记录已观看的视频
     * @return
     */
    @FormUrlEncoded
    @POST("video/see")
    Observable<String> saveLookedVideo(@FieldMap Map<String, Object> params);

    /**
     * 填写寄件人信息
     * @return
     */
    @FormUrlEncoded
    @POST("order/addSendInfo")
    Observable<String> addSendInfo(@FieldMap Map<String, Object> params);
    //==========================================================






    /**
     * 通知详情
     * @return
     */
    @POST("teacherClass/noticeClassDetail")
    @FormUrlEncoded
    Observable<String> getNoticeInfo(@FieldMap Map<String, Object> params);
    /**
     * 根据班主任手机号获取管理的班级接口
     * @return
     */
    @POST("parentUser/getClassByTel")
    @FormUrlEncoded
    Observable<String> getClassByTel(@FieldMap Map<String, Object> params);



    /**
     * 家长端 - 根据班级Id查询宝宝接口
     * @return
     */
    @POST("parentUser/getBabyByClassId")
    @FormUrlEncoded
    Observable<String> getBabyByClassId(@FieldMap Map<String, Object> params);


    /**
     * 家长端 - 根据宝宝ID查询所有已占用的宝宝关系和是否存在第一联系人
     * @return
     */
    @POST("parentUser/getRelationshipByBabyId")
    @FormUrlEncoded
    Observable<String> getRelationshipByBabyId(@FieldMap Map<String, Object> params);







    //===========================================新接口==============================================//

    /**
     * 登录接口
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseParent/loginParent")
    Observable<String> login(@FieldMap Map<String, Object> params);

    /**
     * 获取短信验证码
     * @param type 1 登录- 教师端 2 登录- 家长端 3 注册- 教师端 4 忘记密码 - 教师端 5 家长端app-绑定手机号第一步 6 家长端app-绑定手机号第二步
     * @return
     */
    @FormUrlEncoded
    @POST("ali/getCode")
    Observable<String> getCode(@Field("phone") String telephone, @Field("type") String type);


    /**
     * 验证码登录接口
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseParent/loginByVerify")
    Observable<String> codelLogin(@FieldMap Map<String, Object> params);

    /**
     * 注册接口
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseParent/registeredParent")
    Observable<String> register(@FieldMap Map<String, Object> params);

    /**
     * 忘记密码
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseParent/resettingPassword")
    Observable<String> forgetPass(@FieldMap Map<String, Object> params);


    /**
     * 查询学校
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseMechanism/detailByPhone")
    Observable<String> inquirySchoolByPhone(@FieldMap Map<String, Object> params);


    /**
     * 加入学校
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBasePandm/add")
    Observable<String> followSchool(@FieldMap Map<String, Object> params);

    /**
     * 校园风采
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseMechanismalbum/listOnpage")
    Observable<String> getSchoolElegant(@FieldMap Map<String, Object> params);





    /**
     * 获取校园详情
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseMechanism/detailById")
    Observable<String> getSchoolinfoById(@FieldMap Map<String, Object> params);


    /**
     * 获取个人信息（无参）
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseParent/detailSelf")
    Observable<String> getUserInfoAgain(@FieldMap Map<String, Object> params);

    /**
     * 家长端-查询本人加入学校
     *
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBasePandm/detail")
    Observable<String> getSelectList(@FieldMap Map<String, Object> params);


    /**
     * 家长端-取消关注
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBasePandm/delete")
    Observable<String> removeConcerns(@FieldMap Map<String, Object> params);




    /**
     * 获取师资力量
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseTandm/listSZLL")
    Observable<String> getSchoolTeacher(@FieldMap Map<String, Object> params);



    /**
     * 家长端-退出登录
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseParent/loginOut")
    Observable<String> signOutUser(@FieldMap Map<String, Object> params);


    /**
     * 家长端获取特色课程信息
     * @return
     */
    @FormUrlEncoded
    @POST("base/api/v1/parent/YtkBaseMechancourse/listByParent")
    Observable<String> getTeSeList(@FieldMap Map<String, Object> params);


    /**
     * 家长端-获取家长的试听课程
     * @return
     */
    @FormUrlEncoded
    @POST("course/api/parent/v1/YtkCoursePackages/getDemoLessionParent")
    Observable<String> getShiTingList(@FieldMap Map<String, Object> params);




    /**
     *家长端-获取家长的精品课程
     * @return
     */
    @FormUrlEncoded
    @POST("course/api/parent/v1/YtkCoursePackages/getMulanLessionParent")
    Observable<String> getJingpinList(@FieldMap Map<String, Object> params);

    /**
     *家长端-获取家长的精品课程
     * @return
     */
    @FormUrlEncoded
    @POST("course/api/parent/v1/YtkCoursePackages/getAllLessionParent")
    Observable<String> getJingpinAllList(@FieldMap Map<String, Object> params);

    /**
     *家长端-获取家长的更新课程
     * @return
     */
    @FormUrlEncoded
    @POST("course/api/parent/v1/YtkCoursePackages/getNewLessionParent")
    Observable<String> getZuiXinList(@FieldMap Map<String, Object> params);



    /**
     * 家长端-修改个人资料
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseParent/update")
    @FormUrlEncoded
    Observable<String> xiuGaiUserInfo(@FieldMap Map<String, Object> params);


    /**
     * 家长端-选择学校
     * @return
     */
    @POST("base/api/v1/parent/YtkBasePandm/changeFocusOnMechanism")
    @FormUrlEncoded
    Observable<String> putSelectSchool(@FieldMap Map<String, Object> params);




    /**
     * 家长端-查询单条套餐（包含详细目录）
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackages/detail")
    @FormUrlEncoded
    Observable<String> getCatalogList(@FieldMap Map<String, Object> params);



    /**
     * 添加家长学习课程
     * @return
     */
    @POST("course/api/parent/v1/YtkCoursePandc/add")
    @FormUrlEncoded
    Observable<String> addStudyCourse(@FieldMap Map<String, Object> params);




    /**
     * 家长端-验证手机号
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseParent/checkingPhone")
    @FormUrlEncoded
    Observable<String> checkingPhone(@FieldMap Map<String, Object> params);



    /**
     * 家长端-验证登录手机号
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseParent/checkingPhoneByLogin")
    @FormUrlEncoded
    Observable<String> checkingLoginPhone(@FieldMap Map<String, Object> params);


    /**
     * 家长端-分页查询机构优惠活动
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseMechanismPromote/list")
    @FormUrlEncoded
    Observable<String> getLatestOffersList(@FieldMap Map<String, Object> params);


    /**
     * 家长端-查看机构优惠活动详细信息
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseMechanismPromote/detail")
    @FormUrlEncoded
    Observable<String> getLatestOffersDetails(@FieldMap Map<String, Object> params);

    /**
     * 家长端-新增机构活动感兴趣记录
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseMechanismInterested/add")
    @FormUrlEncoded
    Observable<String> addInterestedActivities(@FieldMap Map<String, Object> params);


    /**
     * 家长端-删除机构活动感兴趣记录
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseMechanismInterested/delete")
    @FormUrlEncoded
    Observable<String> deleteInterestedActivities(@FieldMap Map<String, Object> params);


    /**
     * 家长端-分页查询文章
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticle/detailAllByParent")
    @FormUrlEncoded
    Observable<String> getArticleList(@FieldMap Map<String, Object> params);



    /**
     * 家长端-查看文章详细信息
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticle/detailByParent")
    @FormUrlEncoded
    Observable<String> getArticleDetail(@FieldMap Map<String, Object> params);

    /**
     * 家长端-分页查询文章评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleComment/detailAllByParent")
    @FormUrlEncoded
    Observable<String> getArticleCommentList(@FieldMap Map<String, Object> params);

    /**
     *家长端-新增文章评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleComment/addByParent")
    @FormUrlEncoded
    Observable<String> getAddComment(@FieldMap Map<String, Object> params);



    /**
     *家长端-新增文章观看记录
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseWatch/addByParent")
    @FormUrlEncoded
    Observable<String> addArticleWatcher(@FieldMap Map<String, Object> params);


    /**
     *家长端-分页查询本人课程收藏
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageCollect/detailAllByParent")
    @FormUrlEncoded
    Observable<String> getMyVideoCollectList(@FieldMap Map<String, Object> params);


    /**
     *家长端-取消课程收藏
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageCollect/deleteByParent")
    @FormUrlEncoded
    Observable<String> removeVideoFollow(@FieldMap Map<String, Object> params);




    /**
     *家长端-分页查询文章收藏
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleCollect/detailAllByParent")
    @FormUrlEncoded
    Observable<String> getMyArticleCollectList(@FieldMap Map<String, Object> params);

    /**
     *家长端-取消文章收藏
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleCollect/deleteByParent")
    @FormUrlEncoded
    Observable<String> removeArticleFollow(@FieldMap Map<String, Object> params);



    /**
     *家长端-分页查询本人课程评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageComment/listByParent")
    @FormUrlEncoded
    Observable<String> getMyVideoCommentList(@FieldMap Map<String, Object> params);


    /**
     *家长端-删除课程评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageComment/deleteByParent")
    @FormUrlEncoded
    Observable<String> removeVideoComment(@FieldMap Map<String, Object> params);


    /**
     *家长端-分页查询本人文章评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleComment/listByParent")
    @FormUrlEncoded
    Observable<String> getMyArticleCommentList(@FieldMap Map<String, Object> params);




    /**
     *家长端-删除文章评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleComment/deleteByParent")
    @FormUrlEncoded
    Observable<String> removeArticleComment(@FieldMap Map<String, Object> params);




    /**
     *家长端-新增文章收藏
     * @return
     */
    @POST("course/api/v1/parent/YtkCourseArticleCollect/addByParent")
    @FormUrlEncoded
    Observable<String> addArticleFollow(@FieldMap Map<String, Object> params);



    /**
     *家长端-查询课程评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageComment/detailAllByParent")
    @FormUrlEncoded
    Observable<String> getVideoCommentList(@FieldMap Map<String, Object> params);


    /**
     *家长端-新增课程评论
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageComment/addByParent")
    @FormUrlEncoded
    Observable<String> addVideoComment(@FieldMap Map<String, Object> params);


    /**
     *家长端-新增课程收藏
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackageCollect/addByParent")
    @FormUrlEncoded
    Observable<String> addVideoFollow(@FieldMap Map<String, Object> params);



    /**
     *获取家长用户的订单列表信息
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAppOrder/list")
    @FormUrlEncoded
    Observable<String> getParentOrderList(@FieldMap Map<String, Object> params);



    /**
     *移动端-家长端订单详情
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAppOrder/detail")
    @FormUrlEncoded
    Observable<String> getOrderDetail(@FieldMap Map<String, Object> params);


    /**
     *移动端-家长端去订单支付
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAppOrder/goOrderPay")
    @FormUrlEncoded
    Observable<String> getPayDetail(@FieldMap Map<String, Object> params);


    /**
     *移动端-家长端取消定单
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAppOrder/cancelOrder")
    @FormUrlEncoded
    Observable<String> cancelPayOrder(@FieldMap Map<String, Object> params);




    /**
     *后台-分页查询套餐价格
     * @return
     */
    @POST("course/api/v1/parent/YtkCoursePackagesPrice/list")
    @FormUrlEncoded
    Observable<String> getPiceList(@FieldMap Map<String, Object> params);



    /**
     *移动端-家长分页查询
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAddress/list")
    @FormUrlEncoded
    Observable<String> getDressList(@FieldMap Map<String, Object> params);



    /**
     *移动端-家长新增
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAddress/add")
    @FormUrlEncoded
    Observable<String> addAdress(@FieldMap Map<String, Object> params);





    /**
     *移动端-家长设置选中地址
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAddress/checkAddress")
    @FormUrlEncoded
    Observable<String> changeSelectDress(@FieldMap Map<String, Object> params);



    /**
     *家长端查询多条
     * @return
     */
    @POST("base/api/v1/parent/YtkBasePushmessage/list")
    @FormUrlEncoded
    Observable<String> getMyMessage(@FieldMap Map<String, Object> params);



    /**
     *家长端查询单条
     * @return
     */
    @POST("base/api/v1/parent/YtkBasePushmessage/detail")
    @FormUrlEncoded
    Observable<String> getMyMessageDetail(@FieldMap Map<String, Object> params);

//    /**
//     * 我的宝贝
//     * @return
//     */
//    @GET("base/api/v1/parent/YtkBasePushmessage/detail")
//    Observable<String> getMyMessageDetail( @Query("id") String id  );




    /**
     *移动端-家长生成订单
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAppOrder/createOrder")
    @FormUrlEncoded
    Observable<String> getPayInformation(@FieldMap Map<String, Object> params);



    /**
     * 地区列表
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseArea/getBaseAreaList")
    @FormUrlEncoded
    Observable<String> getAreaListTwo(@FieldMap Map<String, Object> params);




    /**
     * 移动端-家长修改
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseAddress/update")
    @FormUrlEncoded
    Observable<String> changeAdress(@FieldMap Map<String, Object> params);




    /**
     *
     * App微信支付-家长端接口
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseWx/wxapay")
    @FormUrlEncoded
    Observable<String> goToPay(@FieldMap Map<String, Object> params);



    /**
     *
     * 移动端-判断登录的账号是否有已经有班级
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseGroup/checkHaveGroup")
    @FormUrlEncoded
    Observable<String> getIsSelectClass(@FieldMap Map<String, Object> params);



    /**
     *
     * 移动端-显示已经关联的班级的列表
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseGroup/join_list")
    @FormUrlEncoded
    Observable<String> getMyClassList(@FieldMap Map<String, Object> params);




    /**
     *
     *移动端-删除 班级和家长解除关联
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseGroupAndParent/delete")
    @FormUrlEncoded
    Observable<String> exitClass(@FieldMap Map<String, Object> params);



    /**
     *
     *移动端-班级和家长建立关联
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseGroupAndParent/add")
    @FormUrlEncoded
    Observable<String> joinClassTrue(@FieldMap Map<String, Object> params);




    /**
     *
     *移动端-显示没有关联的班级的列表
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseGroup/not_join_list")
    @FormUrlEncoded
    Observable<String> getNoJoinClass(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-近一周数据统计
     *
     * @return
     */
    @POST("record/api/v1/parent/YtkStatisticStudytime/getWeenkendData")
    @FormUrlEncoded
    Observable<String> getLearnWeekData(@FieldMap Map<String, Object> params);




    /**
     *
     *家长端-近一月数据统计
     *
     * @return
     */
    @POST("record/api/v1/parent/YtkStatisticStudytime/getMouthDataByParent")
    @FormUrlEncoded
    Observable<String> getLearnMonthData(@FieldMap Map<String, Object> params);



    /**
     *
     *移动端-最近阅读文章分页查询（家长专用接口）
     *
     * @return
     */
    @POST("record/api/v1/YtkRecordArticle/listForParent")
    @FormUrlEncoded
    Observable<String> getLearnArticleList(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-每日活跃记录
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseActivityRecord/add")
    @FormUrlEncoded
    Observable<String> addParentLogin(@FieldMap Map<String, Object> params);




    /**
     *
     *家长端-课程学习周记录分页
     *
     * @return
     */
    @POST("record/api/v1/parent/YtkStatisticStudytime/pageList")
    @FormUrlEncoded
    Observable<String> getVideoLearnData(@FieldMap Map<String, Object> params);








    /**
     * 图片/视频 上传接口
     * @return
     */
    @Multipart
//    @POST("common/fileUpload")
    @POST("ali/api/teacher/upload/common/fileUpload")
    Observable<String> uploadFileForMore(@Part() MultipartBody.Part[] files, @PartMap Map<String, RequestBody> map);



    /**
     *
     *家长端-获取阿里OOS授权信息
     *
     * @return
     */
    @GET("ali/apo/parent/upload/common/getOssConfig")
//    @FormUrlEncoded
    Observable<String> getOssKey(@QueryMap Map<String, Object> map);


    /**
     *
     *移动端-动态列表
     *
     * @return
     */
    @POST("moment/api/v1/post/list")
    @FormUrlEncoded
    Observable<String> getDongtaiList(@FieldMap Map<String, Object> params);


    /**
     *
     *移动端-点赞
     *
     * @return
     */
    @POST("moment/api/v1/post/like/addLike")
    @FormUrlEncoded
    Observable<String> dongTaiZanTrue(@FieldMap Map<String, Object> params);



    /**
     *
     *移动端-取消点赞
     *
     * @return
     */
    @POST("moment/api/v1/post/like/cancelLike")
    @FormUrlEncoded
    Observable<String> dongTaiZanFalse(@FieldMap Map<String, Object> params);



    /**
     *
     *移动端-动态详情
     *
     * @return
     */
    @POST("moment/api/v1/post/postDetail")
    @FormUrlEncoded
    Observable<String> getDongTaiDetail(@FieldMap Map<String, Object> params);




    /**
     *
     *移动端-评论列表
     *
     * @return
     */
    @POST("moment/api/v1/post/comment/commentList")
    @FormUrlEncoded
    Observable<String> getDongTaiCommentList(@FieldMap Map<String, Object> params);




    /**
     *
     *移动端-点赞列表
     *
     * @return
     */
    @POST("moment/api/v1/post/like/likeList")
    @FormUrlEncoded
    Observable<String> getDongTaiZanList(@FieldMap Map<String, Object> params);



    /**
     *
     *移动端-删除评论
     *
     * @return
     */
    @POST("moment/api/v1/post/comment/commentDelete")
    @FormUrlEncoded
    Observable<String> deleteComment(@FieldMap Map<String, Object> params);




    /**
     *
     *移动端-评论
     *
     * @return
     */
    @POST("moment/api/v1/post/comment/addComment")
    @FormUrlEncoded
    Observable<String> addDongTaiComment(@FieldMap Map<String, Object> params);





    /**
     *
     *移动端-我的动态列表
     *
     * @return
     */
    @POST("moment/api/v1/post/myPostList")
    @FormUrlEncoded
    Observable<String> getMyDongTaiList(@FieldMap Map<String, Object> params);





    /**
     *
     *移动端-动态消息列表
     *
     * @return
     */
    @POST("moment/api/v1/post/message/list")
    @FormUrlEncoded
    Observable<String> getDongTaiNewsList(@FieldMap Map<String, Object> params);






    /**
     *
     *移动端-发布动态
     *
     * @return
     */
    @POST("moment/api/v1/post/add")
    @FormUrlEncoded
    Observable<String> SendDongTai(@FieldMap Map<String, Object> params);





    /**
     *
     *移动端-用户封面获取
     *
     * @return
     */
    @POST("moment/api/v1/parent/YtkMoment/getUserCover")
    @FormUrlEncoded
    Observable<String> getFengMianImage(@FieldMap Map<String, Object> params);




    /**
     *
     *移动端-删除动态
     *
     * @return
     */
    @POST("moment/api/v1/post/deletePost")
    @FormUrlEncoded
    Observable<String> deleteDongTai(@FieldMap Map<String, Object> params);




    /**
     *
     *家长端-获取所有可加入班级（标注已加入）
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseGroup/detailAllGroup")
    @FormUrlEncoded
    Observable<String> getLoginAllClass(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-家长加入多个班级（包含已经加入的）
     *
     * @return
     */
    @POST("base/api/v1/parent/YtkBaseGroupAndParent/registerGroup")
    @FormUrlEncoded
    Observable<String> joinLoginClassTrue(@FieldMap Map<String, Object> params);


    /**
     *
     *家长端-查看通知首页面显示
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseNotice/receiveNoticeTop")
    @FormUrlEncoded
    Observable<String> getNoticeFirst(@FieldMap Map<String, Object> params);




    /**
     *
     *家长端-收到的通知列表
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseNotice/receiveNoticeListForParent")
    @FormUrlEncoded
    Observable<String> getNoticeList(@FieldMap Map<String, Object> params);


    /**
     *
     *家长端-查看通知详情
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseNotice/receiveNoticeDetailForParent")
    @FormUrlEncoded
    Observable<String> getClassNoticeDetail(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-查看作业列表
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/listForParent")
    @FormUrlEncoded
    Observable<String> getHomeWorkList(@FieldMap Map<String, Object> params);


    /**
     *
     *家长端-赞和点评消息列表
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/homeworkMessage")
    @FormUrlEncoded
    Observable<String> getHomeWorkZanList(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-查看发布作业的详细信息
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/detailHomeworkForParent")
    @FormUrlEncoded
    Observable<String> getHomeWorkDetail(@FieldMap Map<String, Object> params);


    /**
     *
     *APp端-作业光荣榜
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/parent/homeworkHonorRollPage")
    @FormUrlEncoded
    Observable<String> getHomeWorkRank(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-我的作品
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/parentMyProduction")
    @FormUrlEncoded
    Observable<String> getMyHomeWorkDetail(@FieldMap Map<String, Object> params);


    /**
     *
     *家长端-发布作业完成的作品
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/publishProduction")
    @FormUrlEncoded
    Observable<String> writeHomeWork(@FieldMap Map<String, Object> params);


    /**
     *
     *家长端-点赞（没有则点赞，点过赞则取消点赞）
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/likeProduction")
    @FormUrlEncoded
    Observable<String> homeWorkZan(@FieldMap Map<String, Object> params);



    /**
     *
     *家长端-其他家长作品
     *
     * @return
     */
    @POST("base/api/v1/YtkBaseHomework/parentOtherProduction")
    @FormUrlEncoded
    Observable<String> getOtherHomeWorkList(@FieldMap Map<String, Object> params);





    /**
     *
     *移动端-修改机构信息
     *
     * @return
     */
    @POST("base/apm/v1/YtkBaseMechanism/listTeachers")
//    @FormUrlEncoded
    Observable<String> ceShiJson( @Body RequestBody info  );


























}